package com.qfedu.dtboot.service;

import com.qfedu.dtboot.entity.ScheduleJob;
import com.qfedu.dtboot.util.DataGridResult;
import com.qfedu.dtboot.util.R;

import java.util.List;
import java.util.Map;

/**
 * 定时任务(ScheduleJob)表服务接口
 *
 * @author ykx
 * @since 2022-09-27 13:04:17
 */
public interface ScheduleJobService {

    DataGridResult queryJobList(Map<String, Object> params);

    R saveJob(ScheduleJob scheduleJob);

    R updateJob(ScheduleJob scheduleJob);

    R getJobInfoById(Long jobId);

    R delBatchJobs(Long[] ids);

    R pauseJobs(Long[] ids);

    R resumeJobs(Long[] ids);
}
